<?php
	require "../dao/staff_dao.php";
		
	session_start();
	$staff = $_SESSION["staff"];
	
?>
<!DOCTYPE html>
<html lang="en">
<head>
	<meta charset="UTF-8" />
	<meta name="viewport" content="width=device-width, initial-scale=1.0" />
	<meta http-equiv="X-UA-Compatible" content="ie=edge" />
	<link rel="stylesheet" href="../css/EAS_interface.css" />
	<script src="../js/jquery-1.2.6.min.js"></script>
	<title>嘉应教务界面</title>
</head>
<body>
	<div id="wrap">
		<div id="header">
			<h1>嘉应学院</h1>
			<span><?=$staff["staffname"]?></span>
		</div>
		<hr />
		<div id="side">
			<a href="S_insertStu_roll.php" target="hello">添加学生学籍</a>
			<a href="S_insertTea_information.php">添加教师信息</a>
			<a href="S_insertStu_section.php">添加学生课程</a>
			<a href="../Select/selectStu_roll_infor.php">查询学生学籍</a>
			<a href="../Select/selectStu_mark_infor.php">查询学生成绩</a>
			<a href="../Select/selectTea_infor.php">查询老师信息</a>
		</div>
		<iframe src="" width="896" height="546" id="iframe" name="hello"></iframe>
	</div>
	<script>
		var aSide = document.getElementsByTagName("a");
		var length = aSide.length;
		var num = 0;
		for(var i=0;i<length;i++){
			aSide[i].index = i;
			aSide[i].onclick = function(){
				aSide[num].target = "";
				num = this.index;
				aSide[num].target = "hello";
			}
		}
	</script>
</body>
</html>